package com.demo.ai.springaidemo.config;

import com.demo.ai.springaidemo.config.constants.SystemConstant;
import org.springframework.ai.chat.client.ChatClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ModelConfig {

    @Bean
    ChatClient chatClient(ChatClient.Builder builder){
        return builder.defaultSystem(SystemConstant.GARAGE_SYSTEM_PROMPT)
                .build();
    }
}
